Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 7 - Finder Interface Reference / Finder Interface Types and Constants


The Folder Routing Structure

NEW WITH MAC OS 8

The folder routing structure specifies the folder that files are routed to, based on the folder they are routed from.

IMPORTANT
Finder does not currently honor changes to the global folder routing list. Descriptions of some folder routing features are provided at this time for informational purposes only.
struct FolderRouting {
   Size           descSize;
   OSType         fileType;
   FolderType     routeFromFolder;
   FolderType     routeToFolder;
   RoutingFlags   flags
};
typedef struct FolderRouting FolderRouting;
typedef FolderRouting *FolderRoutingPtr;

Field Description
descSize
Size (in bytes) of this structure.
fileType
A constant of type OSType that describes the file type of the item to be routed.
routeFromFolder
The folder type identifying the folder from which an item will be routed. If an item is dropped on the folder specified in the routeFromFolder field, it will be routed to the folder described in the routeToFolder field.
routeToFolder
The folder type identifying the folder to which an item will be routed.
flags
These flags are reserved for future use by Apple Computer.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998